﻿/* Global,Basic */
@font-face {
    font-family: 'Roboto';
    src: url('fonts/Roboto-Regular.ttf');
} 

html, body, .btn, .ui-btn{ font-family: 'Roboto'; }
p { margin: 1em 0; }
.page-content{ background-color: #efeef3!important; }
div{ box-sizing: border-box; }

/* Text */
.text-left{ text-align: left; }
.text-center{ text-align: center; }
.text-right{ text-align: right; }

/* Colors 蓝/黄/红/混合色/黑白灰 */
.blue{ color: #2196f3!important; }
.lightblue{ color: #5ac8fa!important; }
.green{ color: #4cd964!important; }
.yellow{  color: #ffcc00!important; }
.orange{ color: #ff9500!important; }
.deeporange{ color: #ff6b22!important; }
.pink{ color: #ff2d55!important; }
.red{ color: #ff3b30!important; }
.teal{ color: #009688!important; }
.lime{ color: #cddc39!important; }
.purple{ color: #9c27b0!important; }
.deeppurple{ color: #673ab7!important; }
.grey{ color: #8e8e93!important; }
.lightgrey{ color: #9e9e9e!important; }
.black{ color: #000000!important; }
.white{ color: #ffffff!important; }

.hide{ display: none!important; }


/* Corners */
.ui-corner-lg {
    border-radius: 1.5em !important;
}

.ui-btn.ui-corner-lg {
    padding: .45em .8em;
}

/* Links */
.link {
    display: inline;
    text-decoration: none;
}

.link,
.link:hover,
.link:visited {
    font-weight: 500 !important;
    color: #0894ec !important;
}

/* Button */
.ui-btn:active,
.ui-btn:hover,
.ui-btn:focus{
    color: #000;
}
.ui-btn.ui-btn-primary {
    background-color: #3b94e7 !important;
    border-color: #3b94e7 !important;
    color: #fff !important;
}

.ui-page-theme-a .ui-btn-primary:hover {
    border-color: #3b94e7 !important;
    color: #fff;
}

.ui-btn.ui-btn-info {
    background-color: #3bb4f2 !important;
    border-color: #3bb4f2;
    color: #fff;
}

.ui-page-theme-a .ui-btn-info:hover {
    border-color: #3bb4f2 !important;
    color: #fff;
}

.ui-btn.ui-btn-success {
    background-color: #5eb95e !important;
    border-color: #5eb95e;
    color: #fff;
}

.ui-page-theme-a .ui-btn-success:hover {
    border-color: #5eb95e !important;
    color: #fff;
}

.ui-btn.ui-btn-warning {
    background-color: #f37b1d !important;
    border-color: #f37b1d;
    color: #fff;
}

.ui-page-theme-a .ui-btn-warning:hover {
    border-color: #f37b1d !important;
    color: #fff;
}

.ui-btn.ui-btn-danger {
    background-color: #dd514c !important;
    border-color: #dd514c;
    color: #fff;
}

.ui-page-theme-a .ui-btn-danger:hover {
    border-color: #dd514c !important;
    color: #fff;
}

.ui-btn.ui-btn-dark {
    background-color: #393939 !important;
    border-color: #393939;
    color: #fff;
}

.ui-page-theme-a .ui-btn-dark:hover {
    border-color: #393939 !important;
    color: #fff;
}

.ui-btn.ui-btn-hollow {
    background-color: transparent !important;
}

.ui-btn-primary.ui-btn-hollow {
    color: #3b94e7;
}

.ui-btn-primary.ui-btn-hollow:hover {
    color: #3b94e7 !important;
}

.ui-btn-info.ui-btn-hollow {
    color: #3bb4f2;
}

.ui-btn-info.ui-btn-hollow:hover {
    color: #3bb4f2 !important;
}

.ui-btn-success.ui-btn-hollow {
    color: #5eb95e;
}

.ui-btn-success.ui-btn-hollow:hover {
    color: #5eb95e !important;
}

.ui-btn-warning.ui-btn-hollow {
    color: #f37b1d;
}

.ui-btn-warning.ui-btn-hollow:hover {
    color: #f37b1d !important;
}

.ui-btn-danger.ui-btn-hollow {
    color: #dd514c;
}

.ui-btn-danger.ui-btn-hollow:hover {
    color: #dd514c !important;
}

.ui-btn-dark.ui-btn-hollow {
    color: #393939;
}

.ui-btn-dark.ui-btn-hollow:hover {
    color: #393939 !important;
}

.ui-btn-xs {
    padding: 3px 5px;
    font-size: 10px;
}

.ui-btn-sm {
    font-size: 12px;
}

.ui-btn-md {
    font-size: 14px;
}

.ui-btn-lg {
    font-size: 16px;
}

.ui-btn-xlg {
    font-size: 18px;
}

.ui-btn.disabled {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.65;
    box-shadow: none;
    -webkit-box-shadow: none;
}

/* Badge */
.badge {
    display: inline-block;
    white-space: nowrap;
    cursor: default;
    font-size: inherit;
    font-style: normal;
    text-align: center;
    font-weight: 400;
    padding: 0 4px;
    background-color: #eee;
    border: 1px solid transparent;
    border-radius: 0;
    color: #666;
    box-sizing: border-box;
    min-width: 18px;
    font-size: 12px;
}
.badge.badge-hollow{ background-color: transparent; color: #666; border-color: #666; }
.badge.badge-hollow.blue{ border-color: #2196f3; }
.badge.badge-hollow.green{ border-color: #4cd964; }
.badge.badge-hollow.lightblue{ border-color: #5ac8fa; }
.badge.badge-hollow.yellow{ border-color: #ffcc00; }
.badge.badge-hollow.orange{ border-color: #ff9500; }
.badge.badge-hollow.pink{ border-color: #ff2d55; }
.badge.badge-hollow.red{ border-color: #ff3b30; }
.badge.badge-hollow.purple{ border-color: #9c27b0; }
.badge.badge-hollow.teal{ border-color: #009688; }
.badge.badge-hollow.lime{ border-color: #cddc39; }
.badge.badge-hollow.grey{ border-color: #8e8e93; }
.badge.badge-hollow.black{ border-color: #000000; }
.badge.badge-rounded{ border-radius: 18px; }


/* Cake 布局 */
.cake:before {
    content: ' ';
    display: table;
    visibility: hidden;
}

.cake:after {
    content: ' ';
    display: table;
    visibility: hidden;
    clear: both;
}

.c1, .c2, .c3, .c4, .c5, .c6, .c7, .c8, .c9, .c10, .c11, .c12 {
    display: block;
    box-sizing: border-box;
    position: relative;
    float: left;
    min-height: 1px;
    width: 100%;
}

.cake .c1 {
    width: 8.33333333%;
}

.cake .c2 {
    width: 16.66666667%;
}

.cake .c3 {
    width: 25%;
}

.cake .c4 {
    width: 33.33333333%;
}

.cake .c5 {
    width: 41.66666667%;
}

.cake .c6 {
    width: 50%;
}

.cake .c7 {
    width: 58.33333333%;
}

.cake .c8 {
    width: 66.66666667%;
}

.cake .c9 {
    width: 75%;
}

.cake .c10 {
    width: 83.33333333%;
}

.cake .c11 {
    width: 91.66666667%;
}

.cake .c12 {
    width: 100%;
}

/* Card */
.card { background-color: #fff; border: 1px solid #eee; box-sizing: border-box; border-radius: 6px; font-size: 14px; position: relative; background-clip: border-box; }
.card.card-square{ border-radius: 0; }
.card :first-child { margin-top: 0; }
.card :last-child { margin-bottom: 0; }
.card .card-header{ padding: 8px 12px 6px; font-size: 16px; min-height: 30px;}
.card .card-header h1, .card .card-header h2, .card .card-header h3, .card .card-header h4, .card .card-header h5, .card .card-header h6 { font-size: inherit; padding: 0; margin: 0; font-weight: 500;}
.card .card-header { font-size: 16px; background-position: center; background-size: cover; position: relative; }
.card .card-header::before, .card .card-footer::before{ content: ""; position: absolute; width: 100%; height: 1px; background-color: #eee; transform: scaleY(.5); -webkit-transform: scaleY(.5); }
.card .card-header::before{ left: 0; bottom: 0; }
.card .card-footer::before{ left: 0; top: 0; }
.card .card-content { font-size: 14px; padding: 12px; min-height: 20px; }
.card .card-footer { padding: 6px 12px; color: #666; position: relative; }
.card-list { list-style: none; margin: 0; padding: 0; position: relative; }
.card-list>.card { margin-bottom: 15px; }
.card-list > .card:last-child { margin-bottom: 0; }





/* Horizontal view */
.horizontal-view {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap; /* 水平布局要求项目不换行 */
    overflow-x: auto;
}

.horizontaol-view > div,
.horizontal-view > .item {
    display: inline-block;
    margin-right: 1em;
    width: 85%;
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
}

/* Chip */
.chip:before {
    content: ' ';
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: .8em;
    height: .8em;
    line-height: 1em;
    margin-right: .25em;
    border-radius: 100%;
    background-color: #666;
    overflow: hidden;
}

.chip.chip-primary:before {
    background-color: #3b94e7;
}

.chip.chip-info:before {
    background-color: #3bb4f2;
}

.chip.chip-success:before {
    background-color: #5eb95e;
}

.chip.chip-warning:before {
    background-color: #f37b1d;
}

.chip.chip-danger:before {
    background-color: #dd514c;
}

.chip-star {
    position: relative;
}

.chip-star:before,
.chip-snow:before {
    display: inline;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    max-width: 2em;
    max-height: 2em;
    overflow: hidden;
    color: #3b94e7;
    font-size: 1.2em;
    font-weight: inherit;
    margin-right: .25em;
}

.chip-star:before {
    content: '\2605';
}

.chip-snow:before {
    content: '\273D';
}

.chip-heart:before {
    content: '\2764';
}

.chip-star.chip-primary:before,
.chip-snow.chip-primary:before,
.chip-heart.chip-primary:before {
    color: #3b94e7;
}

.chip-star.chip-info:before,
.chip-snow.chip-info:before,
.chip-heart.chip-info:before {
    color: #3bb4f2;
}

.chip-star.chip-success:before,
.chip-snow.chip-success:before,
.chip-heart.chip-success:before {
    color: #5eb95e;
}

.chip-star.chip-warning:before,
.chip-snow.chip-warning:before,
.chip-heart.chip-warning:before {
    color: #f37b1d;
}

.chip-star.chip-danger:before,
.chip-snow.chip-danger:before,
.chip-heart.chip-danger:before {
    color: #dd514c;
}

/* Divider */
.divider{
    display: table;
    position: relative;
    text-align: center;
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: hidden;
    padding: 10px 0;
    margin: 15px 0;
    line-height: 1;
}
.divider::before,
.divider::after{
    content: '';
    display: table-cell;
    position: relative;
    top: 50%;
    width: 50%;
    height: 1px;
    background-image: url();
    background-repeat: no-repeat;
}
.divider::before{
    background-position: right 1em top 50%;
}
.divider::after{
    background-position: left 1em top 50%;
}

/* Form */
/* 使用flex布局实现，flex布局学习请见：https://www.cnblogs.com/xuyuntao/articles/6391728.html */
/*.ui-form{
    font-size: 18px;
}
.ui-form .ui-form-item {
    display: flex !important;
    display: -webkit-flex !important;
    display: -webkit-box !important; !* 布局 *!
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    -webkit-box-pack: start; !* 横向排列 *!
    align-items: center;
    -webkit-align-items: center;
    -webkit-box-align: center; !* 纵向排列 *!
    box-sizing: border-box;
    padding: .2em 1em;
    position: relative;
    min-height: 3em;
}
.ui-form .ui-form-item.label-top{
    align-items: flex-start;
    -webkit-align-items: flex-start;
    -webkit-box-align: start;
}
.ui-form .ui-form-item .ui-form-item-content{
    flex: 0 1 auto;
    -ms-flex: 0 1 auto;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -webkit-flex-shrink: 1;
    flex-shrink: 1;
    position: relative;
    width: 100%;
    padding-left: .2em;
    padding-right: 1em;
}
.ui-form input[type="text"],
.ui-form input[type="password"],
.ui-form input[type="number"],
.ui-form input[type="search"],
.ui-form input[type="email"],
.ui-form input[type="tel"],
.ui-form input[type="url"],
.ui-form input[type="date"],
.ui-form input[type="time"],
.ui-form input[type="file"],
.ui-form textarea,
.ui-form select{
    border: none;
    outline: 0;
    width: 100%;
    height: 3em;
    background-color: inherit;
}
.ui-form .ui-form-item label{
    display: block;
    width: 35%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 4px 0;
}
.ui-form .ui-form-item.focus label{
    color: #ff6600;
    font-weight: 600;
}
.ui-form.form-shrink .ui-form-item.focus label{
    width: 0;
}
.ui-form .input-clear{
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -.5em;
    width: 1em;
    height: 1em;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ccc;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    line-height: 1;
    font-size: 1em;
    text-align: center;
    color: #fff;
    font-style: normal;
    transform: rotate(45deg);
}
.ui-form .input-clear:before{
    content: '\002B';
}
.ui-form .form-invalid{
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    text-align: center;
    background-color: #F43530;;
    border-radius: 50%;
    font-style: normal;
    font-size: 1em;
    color: #f0f0f0;
    flex-shrink: 0; !* 不收缩 *!
    margin-left: .35em;
}
.ui-form .form-invalid:before{
    content: "\0021";
    display: inline-block;
}*/

.form-list>li:not('[data-role="list-divider"]'),
.form-list>li>a{
    padding: 0!important;
}
.from-list .label{
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    flex-shrink: 0;
}
.form-list .item-content{
    padding-left: .5em;
}
.form-list .item-title.label{
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    width: 35%;
}
.form-list .item-input{
    width: 100%;
}
.form-list .item-inner{
    display: flex!important;
    padding: .5em;
}
.form-list input[type="text"],
.form-list input[type="password"],
.form-list input[type="number"],
.form-list input[type="search"],
.form-list input[type="email"],
.form-list input[type="tel"],
.form-list input[type="url"],
.form-list input[type="date"],
.form-list input[type="time"],
.form-list input[type="datetime"],
.form-list input[type="datetime-local"],
.form-list input[type="file"],
.form-list textarea,
.form-list select{
    border: none;
    outline: 0;
    width: 100%;
    background-color: inherit;
    min-height: 1.85em;
}
.form-list .placeholder{
    font-size: 14px;
    color: #666;
}
/* placeholder修正*/
input::-webkit-input-placeholder {
    font-size: 14px;
    color: #666;
}
input::-moz-placeholder{
    font-size: 14px;
    color: #666;
}
input:-moz-placeholder{
    font-size: 14px;
    color: #666;
}
input:-ms-input-placeholder{
    font-size: 14px;
    color: #666;
}

/* Nav */
/*
 * 对jQuery mobile的修正
 */
[data-role=page]>.ui-header {
    background: transparent;
    border: none;
}

.nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 45px;
    font-size: 18px;
    padding-left: .5em;
    padding-right: 1em;
    background-color: #58b8d0;
    text-shadow: none;
    z-index: 10;
}
.nav.transparent{
    background: transparent;
}
.nav>.nav-title{
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    text-align: center;
    line-height: 45px;
    margin: 0;
    padding: 0;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
    font-size: inherit;
}
.nav .nav-link-list{ z-index: 20; }
.nav .nav-link-list .nav-link:not(:last-child){ margin-right: 10px; }
.nav .nav-link, .nav .nav-link:hover, .nav .nav-link:visited{
    line-height: 45px;
    color: #fff;
    font-size: 16px;
    font-weight: lighter;
    text-decoration: none;
    text-shadow: none;
    z-index: 20;
    position: relative;
}
.nav .nav-link:active{ opacity: .5; }
.nav .nav-link.back{ left: 20px; }
.nav .nav-link.back::before{
    content: "";
    display: block;
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-top: none;
    border-right: none;
    transform: rotate(45deg);
    top: 50%;
    margin-top: -8px;
    left: -16px;
}

/* Popup */
/*
 * jQuery mobile的popup组件样式修正：
 * 1. 去除popup容器边框与背景色
 * 2. 更改遮罩层的定位方式
 */
.ui-popup{
    border: none!important;
    border-radius: 0;
    background-color: transparent;
}
.ui-popup-arrow{
    background-color: #fff!important;
    border: none!important;
}
.ui-popup-screen{
    position: fixed!important;
}

.popup-inner{
    background-color: #fff;
    position: relative;
    border-top: 4px solid transparent;
    font-weight: 500;
    font-style: normal;
    font-size: 18px;
    min-width: 18em;
    max-height: 400px;
    overflow: auto;
}
.popup-inner.alert,
.popup-inner.confirm,
.popup-inner.popupMenu{
    border-radius: .3em;
}
.popup-inner .popup-header{
    text-align: center;
}
.popup-inner .popup-title{
    font-weight: 800;
    margin: 0;
    padding: 5px 15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.popup-inner .popup-body{
    font-size: 16px;
    padding: 2em 1em;
}
.popup-inner .popup-body.no-padding{
    padding: 0!important;
}
.popup-body p,
.popup-body h1,
.popup-body h2,
.popup-body h3,
.popup-body h4,
.popup-body h5,
.popup-body h6{
    margin: 0;
}
.popup-inner .popup-buttons{
    box-sizing: border-box;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-around;
    align-items: center;
    font-size: 16px;
    font-weight: normal;
}
.popup-buttons .popup-button{
    display: inline-block;
    height: 3.2em;
    line-height: 3.2em;
    flex: 1 1 auto;
    flex-shrink: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 .15em;
    cursor: pointer;
    position: relative;
}
.popup-buttons .popup-button:not(:last-child):after{
    content: '';
    display: inline-block;
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background-color: #eee;
}
/* Popup Support*/
/* 弹出框的辅助类，帮助popup可在任意位置弹出 */
.popup-support-top,
.popup-support-bottom{
    display: block;
    width: 100%;
    height: 1px;
    position: fixed;
    visibility: hidden;
    left: 0;
}
.popup-support-top{
    top: -1px;
}
.popup-support-bottom{
    bottom: -1px;
}

/* Alert & Confirm */
.popup-inner.alert .popup-body{
    text-align: center;
}

/* Popup Loading */
@keyframes loading-animation{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}
@-webkit-keyframes loading-animation{
    0%{
        -webkit-transform:rotate3d(0, 0, 1, 0deg);
        transform:rotate3d(0, 0, 1, 0deg);
    }
    100%{
        -webkit-transform:rotate3d(0, 0, 1, 360deg);
        transform:rotate3d(0, 0, 1, 360deg);
    }
}
.popup-inner.loading{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    width: 130px;
    height: 60px;
    background-color: #666;
    opacity: .85;
    border-radius: 3px;
    color: #eee;
    font-weight: 400;
    text-shadow: none!important;
    font-size: 14px;
    padding: 15px 5px;
    min-width: 0;
}
.popup-inner.loading .popup-loading-icon{
    display: inline-block;
    width: 35px;
    height: 35px;
    background-color: transparent;
    background-image: url("");
    background-repeat: no-repeat;
    animation: loading-animation 1.5s steps(12, end) infinite;
}
.popup-inner.loading .loading-msg{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Popup Actions and Float menus */
.popup-inner.actions,
.popup-inner.float-menus{
    min-width: 0;
}
.popup-inner.actions .popup-body{
    padding: 0;
}
.popup-inner.actions ul,
.popup-inner.float-menus ul{
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.popup-inner.actions ul>li,
.popup-inner.float-menus ul>li{
    font-size: 16px;
    text-align: center;
    padding: .7em;
    border-bottom: 1px solid #eee;
}
.popup-inner.float-menus ul>li{
    padding: .7em 2em;
}
.popup-inner.actions ul>li:last-child{
    border-bottom: none;
}
.popup-inner.actions ul>li.actions-cancel{
    border-top: 12px solid #ddd;
}
/* Popup Popup menu */
.popup-inner.popupMenu{
    font-size: 16px;
    font-weight: 400;
}
.popup-inner.popupMenu .menu-item{
    padding: .75em 1.25em;
    white-space: nowrap;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    position: relative;
}
.popup-inner.popupMenu .menu-item:not(:last-child){
    border-bottom: 1px solid #eee;
}
.popup-inner.popupMenu .menu-item.selected:after{
    content: "";
    display: block;
    width: 12px;
    height: 5px;
    border: 1px solid #3b94e7;
    border-top: none;
    border-right: none;
    transform: rotate(-40deg);
    position: absolute;
    right: 1em;
    top: 50%;
    margin-top: -5px;
}

/* Select list */
.select-list .select-item{
    position: relative;
}
.select-list .select-item.selected::after{
    content: "";
    display: block;
    width: 16px;
    height: 8px;
    border: 2px solid #3b94e7;
    border-top: none;
    border-right: none;
    transform: rotate(-40deg);
    position: absolute;
    right: 1em;
    top: 50%;
    margin-top: -5px;
}

/* Selector */
.ui-listview.ui-selector > li {
    padding-left: 3em;
    position: relative;
}

.ui-listview.ui-selector > li .ui-selector-icon {
    display: inline-block;
    width: 1.4em;
    height: 1.4em;
    border: 2px solid #7E848C;
    border-radius: 100%;
    position: absolute;
    left: 1em;
    top: 50%;
    margin-top: -.7em;
    box-sizing: border-box;
}

.ui-listview.ui-selector.multiple .ui-selector-icon {
    border-radius: 0;
}

.ui-listview.ui-selector > li .ui-selector-icon:before {
    content: "";
    display: block;
    box-sizing: border-box;
    width: .8em;
    height: .8em;
    background-color: #3b94e7;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    margin-left: -.4em;
    top: 50%;
    margin-top: -.4em;
    transform: scale(0);
    -webkit-transition: transform .2s ease;
    transition: transform .2s ease;
}

.ui-listview.ui-selector > li.selected .ui-selector-icon {
    border-color: #3b94e7;
}

.ui-listview.ui-selector > li.selected .ui-selector-icon:before {
    content: "";
    transform: scale(1);
}

.ui-listview.ui-selector.multiple > li.selected .ui-selector-icon {
    background-color: #3b94e7;
    border-color: #3b94e7;
}

.ui-listview.ui-selector.multiple > li .ui-selector-icon:before {
    content: "";
    display: block;
    box-sizing: border-box;
    width: .85em;
    height: .5em;
    border: 3px solid #fff;
    border-radius: 0;
    position: absolute;
    left: 50%;
    margin-left: -.425em;
    top: 50%;
    margin-top: -.25em;
    border-top: none;
    border-right: none;
    opacity: 0;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

.ui-listview.ui-selector.multiple > li.selected .ui-selector-icon:before {
    transform: rotate(-45deg);
    opacity: 1;
    -webkit-transition: opacity 1s ease;
    transition: opacity 1s ease;
}

/* ZCheck */
.z-check{
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    position: relative;
    transition: all 1s;
}
.z-check:hover{
    background-color: #fefefe;
}
.z-check.disabled{
    background-color: #eee;
}
.z-check.checked::after{
    content: '';
    display: block;
    width: 16px;
    height: 6px;
    border-left: 2px solid #3b94e7;
    border-bottom: 2px solid #3b94e7;
    position: absolute;
    left: 2px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
}

/* Switch */
.switch{ -webkit-appearance: none; display: inline-block; width: 52px; height: 32px; border: 1px solid #dfdfdf; outline: 0; border-radius: 16px; position: relative; transition: background-color 0.1s, border 0.1s; box-sizing: border-box; }
.switch::before{ content: ""; display: block; position: absolute; top: 0; left: 0; width: 50px; height: 30px; border-radius: 15px; transform: scale(1); ackground-color: #fdfdfd; transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1); }
.switch::after{ content: ""; display: block; position: absolute; top: 0; left: 0; width: 30px; height: 30px; border-radius: 15px; background-color: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4); transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35); }
.switch.on{ background-color: #2196f3; border-color: #2196f3; transition: background-color 0.1s, border 0.1s; }
.switch-red.on{ background-color: #ff3b30; border-color: #ff3b30; }
.switch-green.on{ background-color: #1AAD19; border-color: #1AAD19; }
.switch-yellow.on{ background-color: #ffcc00; border-color: #ffcc00; }
.switch-pink.on{ background-color: #ff2d55; border-color: #ff2d55; }
.switch.on::before{ transform: scale(0);  transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1); }
.switch.on::after{ transform: translateX(20px); transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35); }

/* Block loading */
.icon-loading{ display: inline-block; width: 20px; height: 20px; vertical-align: middle; animation: loading-animation 1s steps(12, end) infinite; background: transparent url("") no-repeat; background-size: 100%; }
.block-loading{ width: 80%; margin: 1em auto; text-align: center; font-size: 14px; font-weight: 500; line-height: 28px; }
.block-loading .loading-tips{ display: inline-block; vertical-align: middle; line-height: 20px; }

/* Button */
.btn{
    display: inline-block;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: 0;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 5px 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500!important;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    background-color: transparent;
    cursor: pointer;  
    transition: all .3s;
    color: #2196f3;
    user-select: none;
    vertical-align: middle;
}
.btn.btn-block{ width: 100%; padding-left: 0; padding-right: 0; }
.btn:active{ background-color: #eee; transition: all .3s; }
.btn.btn-hollow,
.btn.btn-fill{ border-radius: 3px; }
.btn.btn-hollow{ border: 1px solid transparent; }
.btn.btn-hollow.blue{ border-color: #2196f3; }
.btn.btn-hollow.green{ border-color: #4cd964; }
.btn.btn-hollow.lightblue{ border-color: #5ac8fa; }
.btn.btn-hollow.yellow{ border-color: #ffcc00; }
.btn.btn-hollow.orange{ border-color: #ff9500; }
.btn.btn-hollow.pink{ border-color: #ff2d55; }
.btn.btn-hollow.red{ border-color: #ff3b30; }
.btn.btn-hollow.purple{ border-color: #9c27b0; }
.btn.btn-hollow.teal{ border-color: #009688; }
.btn.btn-hollow.lime{ border-color: #cddc39; }
.btn.btn-hollow.grey{ border-color: #8e8e93; }
.btn.btn-hollow.black{ border-color: #000000; }
.btn.btn-hollow:active{ color: #fff!important; }
.btn.btn-hollow.blue:active{ border-color: #2196f3; background-color: #48a8f5; }
.btn.btn-hollow.green:active{ border-color: #4cd964; background-color: #6ee081; }
.btn.btn-hollow.lightblue:active{ border-color: #5ac8fa; background-color: #82d5fb; }
.btn.btn-hollow.yellow:active{ border-color: #ffcc00; background-color: #ffd429; }
.btn.btn-hollow.orange:active{ border-color: #ff9500; background-color: #ffa629; }
.btn.btn-hollow.pink:active{ border-color: #ff2d55; background-color: #ff5676; }
.btn.btn-hollow.red:active{ border-color: #ff3b30; background-color: #ff6259; }
.btn.btn-hollow.purple:active{ border-color: #9c27b0; background-color: #b92fd1; }
.btn.btn-hollow.teal:active{ border-color: #009688; background-color: #00bfad; }
.btn.btn-hollow.lime:active{ border-color: #cddc39; background-color: #d6e25c; }
.btn.btn-hollow.grey:active{ border-color: #8e8e93; background-color: #a3a3a7; }
.btn.btn-hollow.black:active{ border-color: #000000; background-color: #141414; }
.btn-fill{ color: #fff!important; }
.btn.btn-fill.blue{ background-color: #2196f3; }
.btn.btn-fill.green{ background-color: #4cd964; }
.btn.btn-fill.lightblue{ background-color: #5ac8fa; }
.btn.btn-fill.yellow{ background-color: #ffcc00; }
.btn.btn-fill.orange{ background-color: #ff9500; }
.btn.btn-fill.pink{ background-color: #ff2d55; }
.btn.btn-fill.red{ background-color: #ff3b30; }
.btn.btn-fill.purple{ background-color: #9c27b0; }
.btn.btn-fill.teal{ background-color: #009688; }
.btn.btn-fill.lime{ background-color: #cddc39; }
.btn.btn-fill.grey{ background-color: #8e8e93; }
.btn.btn-fill.black{ background-color: #141414; }
.btn.btn-fill.blue:active{ background-color: #0c82df; }
.btn.btn-fill.lightblue:active{ background-color: #32bbf9; }
.btn.btn-fill.green:active{ background-color: #2cd048; }
.btn.btn-fill.yellow:active{ background-color: #d6ab00; }
.btn.btn-fill.orange:active{ background-color: #d67d00; }
.btn.btn-fill.pink:active{ background-color: #ff0434; }
.btn.btn-fill.red:active{ background-color: #ff1407; }
.btn.btn-fill.purple:active{ background-color: #7e208f; }
.btn.btn-fill.teal:active{ background-color: #006d63; }
.btn.btn-fill.lime:active{ background-color: #bac923; }
.btn.btn-fill.grey:active{ background-color: #79797f; }
.btn.btn-fill.black:active{ background-color: #000000; }
.btn.btn-sm{ font-size: 14px; padding: 4px 6px; border-radius: 2px; line-height: 1.2;}
.btn.btn-md{ padding: 10px 16px; border-radius: 5px; }
.btn.btn-lg{ font-size: 18px; padding: 12px 24px; border-radius: 6px; }
.btn.disabled{ pointer-events: none; opacity: .75; }
.btn.btn-square{ border-radius: 0; }

/* Tab */
.tab-list{ display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; margin: 0; padding: 0; border-bottom: 1px solid #eee; position: relative; background-color: #fff; }
.tab-list .tab-item{
    display: block;
    flex: 1 0 auto;
    text-align: center;
    list-style: none;
    padding: 0 1em;
    position: relative;
    transition: all .3s;
}
.tab-list::after{
    content: "";
    clear: both;
}
.tab-list a, .tab-list a:hover, .tab-list a:active, .tab-list a:visited{
    display: block;
    text-decoration: none;
    font-weight: 500;
    line-height: 32px;
    color: #333;
    font-size: 16px;
    white-space: nowrap;
    line-height: 40px;
}
.tab-list .tab-item a:after{
    content: "";
    display: block;
    width: 30px;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -15px;
    transition: all .3s;
}
.tab-list .tab-item.active a::after{
    content: "";
    background-color: #ff3b30;
    transition: all .3s;
}
.tab-list .tab-item:active{ background-color: #eee; }
.tab-list .tab-item.active a{
    color: #ff3b30;
}

/* Tab bar */
.tab-bar{ display: flex; flex-wrap: nowrap; justify-content: space-around; align-items: center; padding-bottom: 3px; margin: 0;}
.tab-bar .bar-item{ display: flex; flex-direction: column; justify-content: space-around; align-items: center; text-decoration: none; color: #333; position: relative; padding: 0 15px;}
.tab-bar .bar-item:hover, .tab-bar .bar-item:focus, .tab-bar .bar-item:visited{ color: #333; text-decoration: none; }
.tab-bar .bar-item:active{ color: #58b8d0; }
.bar-item .icon{ font-size: 22px; position: relative; }
.bar-item .text{ font-size: 10px; line-height: 1; font-weight: 500;  }
.tab-bar .bar-item.active{ color: #58b8d0; }
.tab-bar .bar-item.new::after{ content: ""; display: block; font-size: 10px; line-height: 1; color: #fff; border-radius: 20px; min-width: 8px; min-height: 8px; background-color: #ff3b30; position: absolute; top: 0; right: 5px; }

/* Slide */
/* .slide{ overflow: hidden; }
.slide .slide-group{ position: relative; white-space: nowrap; overflow: hidden; }
.slide .slide-group .slide-item{ float: left; white-space: normal; }
.slide .slide-group::after{ content: ""; display: table; clear: both; } */

/* Grid */
.grids{ position: relative; overflow: hidden; }
.grids::before{ content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; height: 1px; border-top: 1px solid #eee; }
.grids::after{ content: ""; display: block; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; border-left: 1px solid #eee; }
.grids .grid{ position: relative; float: left; padding: 20px 10px; width: 33.33333333%; box-sizing: border-box; text-decoration: none; font-size: 16px; font-weight: 500; color: #333; -webkit-tap-highlight-color: transparent; }
.grids .grid:hover, .grids .grid:visited{ text-decoration: none; color: #333; }
.grids .grid:active{ background-color: #eee; }
.grids .grid::before{ content: ""; display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; border-bottom: 1px solid #eee; }
.grids .grid::after{ content: ""; display: block; position: absolute; right: 0; top: 0; bottom: 0; width: 1px; border-right: 1px solid #eee; }
.grids .grid-icon{ width: 28px; height: 28px; overflow: hidden; margin: 0 auto; text-align: center; }
.grids .grid-icon>*{ font-size: 22px; }
.grids .grid-label{ font-size: 12px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 5px; margin-top: 5px; }
.grid .badge{ position: absolute; top: 5px; right: 5px; padding: 3px 5px;}

/* Item: flex通用布局 */
.item-content{ display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; font-size: 16px; }
.item-content .item-inner{ overflow: hidden; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; width: 100%; position: relative; }
.item-title{ flex-shrink: 1; max-width: 100%; position: relative; -ms-text-overflow: ellipsis; text-overflow: ellipsis; font-size: 16px; font-weight: 400; margin: 0; overflow: hidden; white-space: nowrap; }
.item-content .item-title-row{ display: flex; justify-content: space-between; }
.item-content .item-media{ align-self: center; }
.item-after{ display: flex; flex-shrink: 0; white-space: nowrap; /*margin-left: auto;*/ font-size: 14px; }
.ui-listview .item-media+.item-inner{ margin-left: 10px; }
.ui-listview .item-inner{ display: block; }

/* List */
.list{ list-style: none; margin: 0; padding: 0; background-color: #fff; position: relative; }
.list::before{ content: ""; display: block; box-sizing: border-box; position: absolute; left: 0; top: 0; width: 100%; height: 1px; background-color: #ddd; transform: scaleY(0.5); -webkit-transform: scaleY(0.5); transform-origin: 50% 100;}
.list::after{ content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background-color: #ddd; transform: scaleY(0.5); -webkit-transform: scaleY(0.5); transform-origin: 50% 100%; }

/* .list>li:not(:last-child)::after{ content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background-color: #ddd; transform: scaleY(0.5); -webkit-transform: scaleY(0.5); transform-origin: 50% 100; } */
.list .item-content{ padding-left: 15px; }
.list .item-inner{ padding: 10px 10px 10px 0; margin-left: 15px; }
.list .item-inner::after{ content: ""; display: block; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background-color: #ddd; transform: scaleY(.5); -webkit-transform: scaleY(.5); transform-origin: 50% 100%; }
.list>li>a{ box-sizing: border-box; position: relative; -webkit-appearance: none; text-decoration: none; font-weight: normal; color: #333;}
.list>li>a.item-content .item-inner::before{ content: ""; display: block; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; border-right: 1px solid #111; border-bottom: 1px solid #111; transform: rotate(-45deg);}
.list>li>a.item-content:active{ background-color: #c1c1c1; }

/* Slide(better scroll support) */
.sldie{ box-sizing: border-box; overflow: hidden; position: relative; height: 100%;}
.slide .slide-group{ display: flex; flex-direction: row; position: relative; overflow: hidden; height: 100%; box-sizing: border-box; }
.slide-group .slide-item{ box-sizing: border-box; position: relative; flex: 0 0 auto; }

.scroll-wrapper{ position: relative; overflow: hidden; }
.scroll-wrapper .scroll-content{ position: relative; height: auto; }